package com.vcredit.creditcat.persistence.base;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.vcredit.creditcat.model.CustSupplementItem;
import com.vcredit.framework.pagination.DefaultCriteria;
public interface CustSupplementItemMapper{
	void insert(CustSupplementItem obj);
	void update(CustSupplementItem obj);
	List<CustSupplementItem> findAll();
	List<CustSupplementItem> find(CustSupplementItem obj);
	CustSupplementItem findById(Long id);
	List<CustSupplementItem> findByPage(DefaultCriteria criteria);
	CustSupplementItem findByCustAndItemCode(@Param("custId")Long custId,
			@Param("itemCode")Integer itemCode);
}
